import Vue from "vue";
import VueRouter from "vue-router";
import balance from "../components/dh_jmhy_balance.vue";
import sync from "../components/dh_jmhy_sync.vue";
import member from "../components/dh_jmhy_member.vue"

import sydet from "../components/dh_jmhy_sync_details.vue"
import badet from "../components/dh_jmhy_balance_details.vue";

Vue.use(VueRouter);

const routes = [
	{
		path: '/',
		name:'sync',
		component: sync,
	},
	{
		path: "/balance",
		name: "balance",
		component: balance,
	},
	{
		path: "/member",
		name: "member",
		component: member
	},
	{
		path: '/sydet',
		name:'sydet',
		component: sydet,
	},
	{
		path: '/badet',
		name:'badet',
		component: badet,
	},
];

const router = new VueRouter({
  mode: "history",
  base: process.env.BASE_URL,
  routes
});

export default router;